home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 June: Reference Library / Dev.CD Jun 99 RL Disk 1.toast / Technical Documentation / Develop / develop Issue 27 / develop Issue 27 code / Apple Guide 2.1 Resources / AppleGuide 2.1 resources.r < prev   
Encoding:
C/C++ Source or Header  |  1996-06-06  |  964 b   |  56 lines  |  [TEXT/MPS ]

  1. #include "Types.r"
  2. #include "SysTypes.r"
  3.  
  4. //
  5. //    For Non-OpenDoc Processes
  6. //
  7.  
  8. //    The 'mlti' resource currently has no important data in it. Just the
  9. //    existence of it means the guide file is a multi guide file for non-OpenDoc processes. 
  10. //    For future compatibility, though, a 'mlti' resource should be four bytes of zeros.
  11.  
  12. type 'mlti' 
  13.     {
  14.     longint = 0;
  15.     };
  16.  
  17. //    The 'apsg' resource is a long integer specifying the number of application
  18. //    signatures follwed by those signatures.
  19.  
  20. type 'apsg'
  21.     {
  22.     longint = $$Countof(SigArray);
  23.     array SigArray
  24.         {
  25.         literal longint;
  26.         };
  27.     };
  28.     
  29. //
  30. //    For OpenDoc Processes
  31. //
  32.  
  33. //    The 'prts' resource is a short integer specifying the number of part
  34. //    names followed by a list of the part names - just like an 'STR#' resource.
  35. //    
  36.  
  37. type 'prts' as 'STR#'; 
  38.  
  39. // Here are some sample resources
  40.  
  41. resource 'mlti' (1000) 
  42.     {
  43.     };
  44.     
  45. resource 'apsg' (1000)
  46.     {{
  47.     'ttxt','MSWD'
  48.     }};
  49.     
  50. resource 'prts' (1000)
  51.     {{
  52.     "Test Clock 1.0",
  53.     }};
  54.     
  55.     
  56.